<?php require_once('../../core/import.php');?>
<?php User::Permission('ACCOUNT_LIST_VISITED_ADD'); ?>
<?php
    if($_SERVER['REQUEST_METHOD']=='POST')
    {
        #添加数据
        DB::Insert('management_user_visited',array
        (
            'User'=>Functions::FormArgs('Username'),
            'Account'=>Functions::FormArgs('Account'),
            'Title'=>Functions::FormArgs('Title'),
			'Content'=>Functions::FormArgs('Content'),
			'Datetime_Visited'=>Functions::FormArgs('VisitedTime'),
            'Datetime'=>date('Y-m-d G:i:s')
        ));
        //信息统计
		User::Statistics_User('ACCOUNT_LIST_VISITED_ADD','management_user_visited','会员版块');
        echo '{"Number":"0","Description":"成功执行"}';
    }
?>